home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Comm / AmiTCP30b2.lha / src / devs / Smakefile
Makefile  |  1994-02-27  |  2KB  |  107 lines

  1. # $Id: Smakefile,v 3.2 1994/02/26 09:23:56 ppessi Exp $
  2. #
  3. # Smakefile for AmiTCP/IP Network Drivers
  4. #
  5. # Copyright © 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
  6. #               Helsinki University of Technology, Finland.
  7. #                  All rights reserved.
  8. #
  9. # Created      : Fri May 14 22:23:09 1993 ppessi
  10. # Last modified: Sun Feb 27 03:43:34 1994 ppessi
  11. #
  12. # $Log: Smakefile,v $
  13. # Revision 3.2  1994/02/26  09:23:56  ppessi
  14. # Added netinfo.device (for real)
  15. #
  16. # Revision 3.1  1994/02/25  14:59:29  ppessi
  17. # Cleaned file; added netinfo device
  18. #
  19. # Revision 1.1  1993/10/14  00:10:53  ppessi
  20. # Initial revision
  21. #
  22. #
  23.  
  24. DEST = AmiTCP:
  25.  
  26. #
  27. # These will be made
  28. #
  29. DEVS = netinfo/netinfo.device agnet/agnet \
  30.        rhslip/rhslip.device rhslip/rhcslip.device
  31.  
  32. MAKELINK = makelink
  33. MKDIR = makedir
  34. MAKE = smake -k
  35. RM   = delete
  36. CP = copy dates
  37.  
  38. NETINFO_SRC = \
  39.     netinfo/Smakefile netinfo/base.h netinfo/config.h netinfo/entries.c \
  40.     netinfo/entries.h netinfo/groupunit.c netinfo/init.c netinfo/misc.c \
  41.     netinfo/netinfo.c netinfo/passwdunit.c netinfo/server.c netinfo/assert.c
  42.  
  43. AGNET_SRC = \
  44.     agnet/Smakefile \
  45.     agnet/agnet.h agnet/agnet_protos.h agnet/bases.h agnet/lrandom.h \
  46.     agnet/agnet.c agnet/device.c agnet/init.c agnet/lrandom.c \
  47.     agnet/simplerexx.h agnet/simplerexx.c
  48.  
  49. RHSLIP_SRC = \
  50.         rhslip/Smakefile \
  51.         rhslip/cslip.c rhslip/cslip.h rhslip/cslip_device.asm \
  52.         rhslip/device_funcs.c rhslip/device_protos.h rhslip/endcode.asm \
  53.         rhslip/slip_device.asm rhslip/slip_device.h rhslip/slip_device.i
  54.  
  55. all: devs 
  56.  
  57. devs: $(DEVS)
  58.  
  59. agnet/agnet: $(AGNET_SRC) 
  60.     execute < <
  61.     cd agnet
  62.     $(MAKE) 
  63.     cd /
  64. <
  65.  
  66. netinfo/netinfo.device: $(NETINFO_SRC)
  67.     execute < <
  68.     cd netinfo
  69.     $(MAKE) 
  70.     cd /
  71. <
  72.  
  73. rhslip/rhslip.device: $(RHSLIP_SRC)
  74.     execute < <
  75.     cd rhslip
  76.     $(MAKE) rhslip.device
  77.     cd /
  78. <
  79.  
  80. rhslip/rhcslip.device: $(RHSLIP_SRC)
  81.     execute < <
  82.     cd rhslip
  83.     $(MAKE) rhcslip.device
  84.     cd /
  85. <
  86.  
  87. clean: 
  88.     execute < <
  89.     cd agnet
  90.     $(MAKE) clean
  91.     cd /rhslip
  92.     $(MAKE) clean
  93. <
  94.  
  95. cleaner: clean
  96.     -$(RM) $(DEVS) 
  97.  
  98. install: 
  99.     execute < <
  100.     cd agnet
  101.     $(MAKE) DEST=$(DEST) install
  102.     cd /netinfo
  103.     $(MAKE) DEST=$(DEST) install
  104.     cd /rhslip
  105.     $(MAKE) DEST=$(DEST) install
  106. <
  107.